package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.RepoDailyBean;

/**
* 描述：债券回购日行情
* @author: codesmith
**/
@Data
@TableName("repo_daily")
public class RepoDailyEntity implements RepoDailyBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`repo_maturity`") protected String repoMaturity;

    @TableField("`pre_close`") protected Double preClose;

    @TableField("`open`") protected Double open;

    @TableField("`high`") protected Double high;

    @TableField("`low`") protected Double low;

    @TableField("`close`") protected Double close;

    @TableField("`weight`") protected Double weight;

    @TableField("`weight_r`") protected Double weightR;

    @TableField("`amount`") protected Double amount;

    @TableField("`num`") protected Integer num;
}